package com.yhq.ojbackendmodel.model.dto.questionsubmit;

import com.yhq.ojbackendcommon.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询请求
 *
 * @author yhq
 * 
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QuestionSubmitQueryRequest extends PageRequest implements Serializable {

    /**
     * id
     */
   // @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 使用的编程语言
     */
   // @TableField(value = "language")
    private String language;
    /**
     * 备注
     */
   // @TableField(value = "content")
    private String content;

    /**
     * 题解所用算法标签列表(json数组)
     */
   // @TableField(value = "tags")
    private String tags;

    /**
     * 执行状态(0:待判题 1:判题中 2:成功 3: 解答出错 4:超出时间限制 5:超出空间限制 6:编译出错)
     */
   // @TableField(value = "status")
    private Integer status;

    /**
     * 创建用户 id
     */
   // @TableField(value = "userId")
    private Long userId;

    /**
     * 题目 id
     */
   // @TableField(value = "questionId")
    private Long questionId;
    
    /**
     * 搜索词
     */
    private String searchText;

   
    private static final long serialVersionUID = 1L;
}